<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>4.Vue实例</title>
    <script src="./vue.js"></script>
</head>

<body>
    <div id="root">{{message}}</div>
    <script>
        // 通过new加Vue这个修饰符创建出来的
        var vm = new Vue({
            el: '#root',
            data: {
                message: 'hello'
            }
        })

    </script>
</body>

</html>